package com.rentong.cust.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.rentong.cust.mapper.subscriberV1Mapper;
import com.rentong.cust.domain.subscriberV1;
import com.rentong.cust.service.IsubscriberV1Service;

/**
 * 用户管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
@Service
public class subscriberV1ServiceImpl implements IsubscriberV1Service 
{
    @Autowired
    private subscriberV1Mapper subscriberV1Mapper;

    /**
     * 查询用户管理
     * 
     * @param custId 用户管理主键
     * @return 用户管理
     */
    @Override
    public subscriberV1 selectsubscriberV1ByCustId(Long custId)
    {
        return subscriberV1Mapper.selectsubscriberV1ByCustId(custId);
    }

    /**
     * 查询用户管理列表
     * 
     * @param subscriberV1 用户管理
     * @return 用户管理
     */
    @Override
    public List<subscriberV1> selectsubscriberV1List(subscriberV1 subscriberV1)
    {
        return subscriberV1Mapper.selectsubscriberV1List(subscriberV1);
    }

    /**
     * 新增用户管理
     * 
     * @param subscriberV1 用户管理
     * @return 结果
     */
    @Override
    public int insertsubscriberV1(subscriberV1 subscriberV1)
    {
        return subscriberV1Mapper.insertsubscriberV1(subscriberV1);
    }

    /**
     * 修改用户管理
     * 
     * @param subscriberV1 用户管理
     * @return 结果
     */
    @Override
    public int updatesubscriberV1(subscriberV1 subscriberV1)
    {
        return subscriberV1Mapper.updatesubscriberV1(subscriberV1);
    }

    /**
     * 批量删除用户管理
     * 
     * @param custIds 需要删除的用户管理主键
     * @return 结果
     */
    @Override
    public int deletesubscriberV1ByCustIds(Long[] custIds)
    {
        return subscriberV1Mapper.deletesubscriberV1ByCustIds(custIds);
    }

    /**
     * 删除用户管理信息
     * 
     * @param custId 用户管理主键
     * @return 结果
     */
    @Override
    public int deletesubscriberV1ByCustId(Long custId)
    {
        return subscriberV1Mapper.deletesubscriberV1ByCustId(custId);
    }
}
